package org.wggds.webservices.io.query.substructuresearch;

import org.eurocarbdb.application.glycanbuilder.Glycan;

public interface SubStructureSearch {
	public void setQuery(Glycan glycan);
	public void setCompleteLeafMatch(boolean completeLeafMatch);
	public void setRedEndMatch(boolean redEndMatch);
	public void searchMode(SearchMode mode);
	public boolean match(Glycan target);
	public boolean match(Glycan query,Glycan target);
	
	public enum SearchMode {
		FUZZY,
		EQUIVALENT,
		LINKAGE_ISOMERS,
		STEROCHEMICAL_ISOMERS
	}
}
